import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from './App.vue'

console.log('Vue应用正在启动...')

const app = createApp(App)
app.use(ElementPlus)

// 添加全局错误处理
app.config.errorHandler = (err, vm, info) => {
  console.error('Vue错误:', err)
  console.error('错误信息:', info)
}

app.mount('#app')

console.log('Vue应用已挂载') 